@charset "UTF-8";
//-----------------------------------------------------
// 显示属性
//-----------------------------------------------------

// in-b    //inline-block
// ie6-7 *display: inline;*zoom:1;

//显示属性，包括浮动f（float）、fl(float:left)、fr(float:right)、显示d(display)、dn(display:none)、db(display:block)。
@mixin d($val) {
  $zz: "/*";
  @each $attr in $val {
    @if (length($attr)) == 1 {
      @if (nth($attr,1))=="db" {
        display: block
      }
      @if (nth($attr,1))== "dn" {
        display: none
      }
      @if (nth($attr,1)) == "poa" {
        position: absolute
      }
      @if (nth($attr,1)) == "por" {
        position: relative
      }
      @if (nth($attr,1)) == "pof" {
        position: fixed
      }
      @if (nth($attr,1)) == "f" {
        float: left
      }
      @if (nth($attr,1)) == "fl" {
        float: left
      }
      @if (nth($attr,1)) == "fr" {
        float: right
      }
      @if (nth($attr,1)) == "cb" {
        clear: both
      }
      @if (nth($attr,1)) == "p" {
        position: relative
      }
      @if (nth($attr,1)) == "po" {
        position: absolute
      }
      @if (nth($attr,1)) == "pos" {
        position: fixed
      }
      @if (nth($attr,1)) == "l" {
        left: 0
      }
      @if (nth($attr,1)) == "r" {
        right: 0
      }
      @if (nth($attr,1)) == "t" {
        top: 0
      }
      @if (nth($attr,1)) == "b" {
        bottom: 0
      }
      @if (nth($attr,1)) == "c" {
        clip: auto
      }
      @if (nth($attr,1)) == "z" {
        z-index: 1
      }
      @if (nth($attr,1)) == "m" {
        margin: 0
      }
      @if (nth($attr,1)) == "jz" {
        margin-left:auto;
        margin-right:auto;
      }
      @if (nth($attr,1)) == "jzc" {
        margin-left:auto;
        margin-right:auto;
        text-align: center;
      }
    }
    @if (length($attr)) == 2 {
      @if (nth($attr,1)) == "n" {
        #{$zz}: nth($attr,2)+"*/"
      }
      @if (nth($attr,1))=="z-" {
        z-index: nth($attr, 2)
      }
      @if (nth($attr,1))=="z" {
        z-index: nth($attr, 2)
      }
      @if (nth($attr,1))=="d" {
        display: nth($attr, 2)
      }
      @if (nth($attr,1))=="db" {
        display: nth($attr, 2)
      }
      @if (nth($attr,1))=="dn" {
        display: nth($attr, 2)
      }
      @if (nth($attr,1))=="f" {
        float: nth($attr, 2)
      }
      @if (nth($attr,1))=="fl" {
        float: nth($attr, 2)
      }
      @if (nth($attr,1))=="fr" {
        float: nth($attr, 2)
      }
      @if (nth($attr,1))=="l" {
        @if (type-of(nth($attr, 2)) =="number") {
          @if (unit(nth($attr, 2)) == "") and (nth($attr, 2))!=0 {
            left: nth($attr, 2)+px;
          } @else {
            left: nth($attr, 2);
          }
        } @else {
          left: nth($attr, 2);
        }
      }
      @if (nth($attr,1))=="r" {
        @if (type-of(nth($attr, 2)) =="number") {
          @if (unit(nth($attr, 2)) == "") and (nth($attr, 2))!=0 {
            right: nth($attr, 2)+px;
          } @else {
            right: nth($attr, 2);
          }
        } @else {
          right: nth($attr, 2);
        }
      }
      @if (nth($attr,1))=="t" {
        @if (type-of(nth($attr, 2)) =="number") {
          @if (unit(nth($attr, 2)) == "") and (nth($attr, 2))!=0 {
            top: nth($attr, 2)+px;
          } @else {
            top: nth($attr, 2);
          }
        } @else {
          top: nth($attr, 2);
        }
      }
      @if (nth($attr,1))=="b" {
        @if (type-of(nth($attr, 2)) =="number") {
          @if (unit(nth($attr, 2)) == "") and (nth($attr, 2))!=0 {
            bottom: nth($attr, 2)+px;
          } @else {
            bottom: nth($attr, 2);
          }
        } @else {
          bottom: nth($attr, 2);
        }
      }
      @if (nth($attr,1))=="p" {
        position: nth($attr, 2)
      }
      @if (nth($attr,1))=="po" {
        position: nth($attr, 2)
      }
      @if (nth($attr,1))=="pos" {
        position: nth($attr, 2)
      }
      @if (nth($attr,1))=="c" {
        @if (length(nth($attr,2)))==1 {
          clip: rect(nth($attr, 2) auto auto auto)
        }
        @if (length(nth($attr,2)))==2 {
          clip: rect(nth($attr, 2) auto auto)
        }
        @if (length(nth($attr,2)))==3 {
          clip: rect(nth($attr, 2) auto)
        }
        @if (length(nth($attr,2)))==4 {
          clip: rect(nth($attr, 2))
        }
      }
      @if (nth($attr,1))=="m" {
        $margin1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $margin1: $margin1+" "+$mv+px;
              }@else{
                $margin1: $margin1+" "+$mv;
              }
            }@else{
              $margin1: $margin1+" "+$mv;
            }
          }@else {
            $margin1: $margin1+" "+$mv;
          }
        }
        $margin1: unquote($margin1);
        margin: $margin1;
      }
    }
    @if (length($attr)) == 3 {
      @if (nth($attr,1))=="m" {
        $margin1:"";
        @each $mv in (nth($attr, 2)),(nth($attr, 3)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $margin1: $margin1+" "+$mv+px;
              }@else{
                $margin1: $margin1+" "+$mv;
              }
            }@else{
              $margin1: $margin1+" "+$mv;
            }
          }@else {
            $margin1: $margin1+" "+$mv;
          }
        }
        $margin1: unquote($margin1);
        margin: $margin1;
      }
    }
    @if (length($attr)) == 4 {
      @if (nth($attr,1))=="m" {
        $margin1:"";
        @each $mv in (nth($attr, 2)),(nth($attr, 3)),(nth($attr, 4)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $margin1: $margin1+" "+$mv+px;
              }@else{
                $margin1: $margin1+" "+$mv;
              }
            }@else{
              $margin1: $margin1+" "+$mv;
            }
          }@else {
            $margin1: $margin1+" "+$mv;
          }
        }
        $margin1: unquote($margin1);
        margin: $margin1;
      }
    }
    @if (length($attr)) == 5 {
      @if (nth($attr,1))=="m" {
        $margin1:"";
        @each $mv in (nth($attr, 2)),(nth($attr, 3)),(nth($attr, 4)),(nth($attr, 5)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $margin1: $margin1+" "+$mv+px;
              }@else{
                $margin1: $margin1+" "+$mv;
              }
            }@else{
              $margin1: $margin1+" "+$mv;
            }
          }@else {
            $margin1: $margin1+" "+$mv;
          }
        }
        $margin1: unquote($margin1);
        margin: $margin1;
      }
    }
  }
}
//块属性及修饰，包括宽、高、内间、外间、边、背景
@mixin m($val) {
  $zz: "/*";
  @each $attr in $val{
    @if (length($attr)) == 1 {
      @if (nth($attr,1)) == "w" {
        width: auto
      }
      @if (nth($attr,1)) == "h" {
        height: auto
      }
      @if (nth($attr,1)) == "o" {
        overflow: hidden
      }
      @if (nth($attr,1)) == "who" {
        width: auto;
        height: auto;
        overflow: hidden
      }
      @if (nth($attr,1)) == "wh" {
        width: auto;
        height: auto;
      }
      @if (nth($attr,1)) == "wh-" {
        width: auto;
        height: auto
      }
      @if (nth($attr,1)) == "ho" {
        height: auto;
        overflow: hidden
      }
      @if (nth($attr,1)) == "wo" {
        width: auto;
        overflow: hidden
      }
      @if (nth($attr,1)) == "p" {
        padding: 0
      }
      @if (nth($attr,1)) == "pl" {
        padding-left: 0
      }
      @if (nth($attr,1)) == "pr" {
        padding-right: 0
      }
      @if (nth($attr,1)) == "pt" {
        padding-top: 0
      }
      @if (nth($attr,1)) == "pb" {
        padding-bottom: 0
      }
      @if (nth($attr,1)) == "m" {
        margin: 0
      }
      @if (nth($attr,1)) == "ml" {
        margin-left: 0
      }
      @if (nth($attr,1)) == "mr" {
        margin-right: 0
      }
      @if (nth($attr,1)) == "mt" {
        margin-top: 0
      }
      @if (nth($attr,1)) == "mb" {
        margin-bottom: 0
      }
      @if (nth($attr,1)) == "pm" {
        padding: 0;
        margin: 0
      }
      @if (nth($attr,1)) == "pm-" {
        padding: 0;
        margin: 0
      }
      @if (nth($attr,1)) == "jz" {
        margin-left:auto;
        margin-right:auto;
      }
      @if (nth($attr,1)) == "jzc" {
        margin-left:auto;
        margin-right:auto;
        text-align: center;
      }
      @if (nth($attr,1)) == "mw" {
        min-width: $mw;
      }
      @if (nth($attr,1)) == "maw" {
        max-width: $maw;
      }
      @if (nth($attr,1)) == "mh" {
        min-height: $mh;
      }
      @if (nth($attr,1)) == "mah" {
        max-height: $mah;
      }
      @if (nth($attr,1)) == "bdw" {
        border-width: 1px;
      }
      @if (nth($attr,1)) == "bdc" {
        border-color: $bdc;
      }
      @if (nth($attr,1)) == "bds" {
        border-style: solid;
      }
      @if (nth($attr,1)) == "bdd" {
        border-style: dotted;
      }
      @if (nth($attr,1)) == "bdt" {
        border-top: 1px solid $bdc;
      }
      @if (nth($attr,1)) == "bdb" {
        border-bottom: 1px solid $bdc;
      }
      @if (nth($attr,1)) == "bdl" {
        border-left: 1px solid $bdc;
      }
      @if (nth($attr,1)) == "bdr" {
        border-right: 1px solid $bdc;
      }
      @if (nth($attr,1)) == "bd" {
        border-bottom: 1px solid $bdc;
      }
      @if (nth($attr,1)) == "b" {
        border: 1px solid $bdc;
      }
      @if (nth($attr,1)) == "brs" {
        -webkit-border-radius:$brs;
        border-radius: $brs;
      }
      @if (nth($attr,1)) == "boxs" {
        -webkit-box-shadow:$boxs;
        box-shadow: $boxs;
      }
      @if (nth($attr,1)) == "bg" {
        background:url($bgi) 0 0 $nr;
      }
      @if (nth($attr,1)) == "bgc" {
        background-color:$bgc;
      }
      @if (nth($attr,1)) == "bgs" {
        background-size:100%;
        -webkit-background-size:100%;
      }
      @if (nth($attr,1)) == "bgi" {
        background-image:url($bgi);
      }
      @if (nth($attr,1)) == "bgp" {
        background-position: 0 0;
      }
      @if (nth($attr,1)) == "bgr" {
        background-repeat:$nr;
      }
    }
    @if (length($attr)) == 2 {
      @if (nth($attr,1)) == "n" {
        #{$zz}: nth($attr,2)+"*/"
      }
      @if (nth($attr,1)) == "w" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        width: $p1;
      }
      @if (nth($attr,1)) == "h" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        height: $p1;
      }
      @if (nth($attr,1)) == "mw" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        min-width: $p1;
      }
      @if (nth($attr,1)) == "maw" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        max-width: $p1;
      }
      @if (nth($attr,1)) == "mh" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        min-height: $p1;
      }
      @if (nth($attr,1)) == "mah" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        max-height: $p1;
      }
      @if (nth($attr,1)) == "o" {
        overflow: nth($attr, 2)
      }
      @if (nth($attr,1)) == "p" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        padding: $p1;
      }
      @if (nth($attr,1)) == "pl" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        padding-left: $p1;
      }
      @if (nth($attr,1)) == "pr" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        padding-right: $p1;
      }
      @if (nth($attr,1)) == "pt" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        padding-top: $p1;
      }
      @if (nth($attr,1)) == "pb" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        padding-bottom: $p1;
      }
      @if (nth($attr,1)) == "m" {
        $margin1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $margin1: $margin1+" "+$mv+px;
              }@else{
                $margin1: $margin1+" "+$mv;
              }
            }@else{
              $margin1: $margin1+" "+$mv;
            }
          }@else {
            $margin1: $margin1+" "+$mv;
          }
        }
        $margin1: unquote($margin1);
        margin: $margin1;
      }
      @if (nth($attr,1)) == "ml" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        margin-left: $p1;
      }
      @if (nth($attr,1)) == "mr" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        margin-right: $p1;
      }
      @if (nth($attr,1)) == "mt" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        margin-top: $p1;
      }
      @if (nth($attr,1)) == "mb" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        margin-bottom: $p1;
      }
      @if (nth($attr,1)) == "pm" {
        @if length(nth($attr,2)) == 1{
          $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:0;
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          padding: $p1;
          margin: $m1;
        }
        @if length(nth($attr,2)) == 2{
          $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:nth(nth($attr, 2),2);
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          padding: $p1;
          margin: $m1;
        }
      }
      @if (nth($attr,1)) == "pm-" {
          $p1:'';$p2:(nth($attr, 2));$m1:'';$m2:(nth($attr, 2));
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          padding: $p1;
          margin: $m1;
      }
      @if (nth($attr,1)) == "mp" {
        @if length(nth($attr,2)) == 1{
          $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:0;
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          margin: $p1;
          padding: $m1;
        }
        @if length(nth($attr,2)) == 2{
          $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:nth(nth($attr, 2),2);
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          padding: $p1;
          margin: $m1;
        }
      }
      @if (nth($attr,1)) == "mp-" {
        $p1:'';$p2:(nth($attr, 2));$m1:'';$m2:(nth($attr, 2));
        @each $mv in $p2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        @each $mv in $m2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $m1: $m1+" "+$mv+px;
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else{
              $m1: $m1+" "+$mv;
            }
          }@else {
            $m1: $m1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        $m1: unquote($m1);
        margin: $p1;
        padding: $m1;
      }
      @if (nth($attr,1)) == "who" {
        @if (length(nth($attr,2)))==1 {
            $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:auto;$o1:'';$o2:hidden;
            @each $mv in $p2 {
              @if (type_of($mv)=="number"){
                @if (unit($mv)==''){
                  @if (abs($mv)!=0){
                    $p1: $p1+" "+$mv+px;
                  }@else{
                    $p1: $p1+" "+$mv;
                  }
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else {
                $p1: $p1+" "+$mv;
              }
            }
            @each $mv in $m2 {
              @if (type_of($mv)=="number"){
                @if (unit($mv)==''){
                  @if (abs($mv)!=0){
                    $m1: $m1+" "+$mv+px;
                  }@else{
                    $m1: $m1+" "+$mv;
                  }
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else {
                $m1: $m1+" "+$mv;
              }
            }
            @each $mv in $o2 {
              @if (type_of($mv)=="number"){
                @if (unit($mv)==''){
                  @if (abs($mv)!=0){
                    $o1: $o1+" "+$mv+px;
                  }@else{
                    $o1: $o1+" "+$mv;
                  }
                }@else{
                  $o1: $o1+" "+$mv;
                }
              }@else {
                $o1: $o1+" "+$mv;
              }
            }
            $p1: unquote($p1);
            $m1: unquote($m1);
            $o1: unquote($o1);
            width: $p1;
            height: $m1;
            overflow: $o1;
        }
        @if (length(nth($attr,2)))==2 {
          $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:nth(nth($attr, 2),2);$o1:'';$o2:hidden;
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          @each $mv in $o2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $o1: $o1+" "+$mv+px;
                }@else{
                  $o1: $o1+" "+$mv;
                }
              }@else{
                $o1: $o1+" "+$mv;
              }
            }@else {
              $o1: $o1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          $o1: unquote($o1);
          width: $p1;
          height: $m1;
          overflow: $o1;
        }
        @if (length(nth($attr,2)))==3 {
          $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:nth(nth($attr, 2),2);$o1:'';$o2:nth(nth($attr, 2),3);
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          @each $mv in $o2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $o1: $o1+" "+$mv+px;
                }@else{
                  $o1: $o1+" "+$mv;
                }
              }@else{
                $o1: $o1+" "+$mv;
              }
            }@else {
              $o1: $o1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          $o1: unquote($o1);
          width: $p1;
          height: $m1;
          overflow: $o1;
        }
      }
      @if (nth($attr,1)) == "wh-" {
        $p1:'';$p2:(nth($attr, 2));$m1:'';$m2:(nth($attr, 2));
        @each $mv in $p2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        @each $mv in $m2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $m1: $m1+" "+$mv+px;
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else{
              $m1: $m1+" "+$mv;
            }
          }@else {
            $m1: $m1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        $m1: unquote($m1);
        width: $p1;
        height: $m1;
      }
      @if (nth($attr,1)) == "wh" {
        @if length(nth($attr,2)) == 1{
          $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:auto;
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          width: $p1;
          height: $m1;
        }
        @if length(nth($attr,2)) == 2{
          $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:nth(nth($attr, 2),2);
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          width: $p1;
          height: $m1;
        }
      }
      @if (nth($attr,1)) == "wo" {
        @if length(nth($attr,2)) == 1{
          $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:hidden;
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          width: $p1;
          overflow: $m1;
        }
        @if length(nth($attr,2)) == 2{
          $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:nth(nth($attr, 2),2);
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          height: $p1;
          overflow: $m1;
        }
      }
      @if (nth($attr,1)) == "ho" {
        @if length(nth($attr,2)) == 1{
          $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:hidden;
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          height: $p1;
          overflow: $m1;
        }
        @if length(nth($attr,2)) == 2{
          $p1:'';$p2:nth(nth($attr, 2),1);$m1:'';$m2:nth(nth($attr, 2),2);
          @each $mv in $p2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $p1: $p1+" "+$mv+px;
                }@else{
                  $p1: $p1+" "+$mv;
                }
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else {
              $p1: $p1+" "+$mv;
            }
          }
          @each $mv in $m2 {
            @if (type_of($mv)=="number"){
              @if (unit($mv)==''){
                @if (abs($mv)!=0){
                  $m1: $m1+" "+$mv+px;
                }@else{
                  $m1: $m1+" "+$mv;
                }
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else {
              $m1: $m1+" "+$mv;
            }
          }
          $p1: unquote($p1);
          $m1: unquote($m1);
          width: $p1;
          overflow: $m1;
        }
      }
      @if (nth($attr,1)) == "bdw" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        border-width: $p1;
      }
      @if (nth($attr,1)) == "bdc" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        border-color: $p1;
      }
      @if (nth($attr,1)) == "bds" {
        //这个定义意义不大
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        border-style: $p1;
      }
      @if (nth($attr,1)) == "bdd" {
        //这个定义意义不大
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        border-style: $p1;
      }
      @if (nth($attr,1)) == "bdt" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border-top:$b;
      }
      @if (nth($attr,1)) == "bdb" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border-bottom:$b;
      }
      @if (nth($attr,1)) == "bdl" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border-left:$b;
      }
      @if (nth($attr,1)) == "bdr" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border-right:$b;
      }
      @if (nth($attr,1)) == "bd" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border:$b;
      }
      @if (nth($attr,1)) == "b" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border:$b;
      }
      @if (nth($attr,1)) == "brs" {
        $p1:"";
        @each $mv in (nth($attr, 2)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        -webkit-border-radius:$p1;
        border-radius: $p1;
      }
      @if (nth($attr,1)) == "bg" {
        $b:'';$c:'';$img:'';$x:'';$nr1:'';$c-t:'';$i-t:'';$x-t:'';$nr1-t:'';$i:0; $s:nth($attr, 2);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="n") or ($v=="nr") or ($v=="no-repeat") or ($v=="repeat-x") or ($v=="x") or ($v=="repeat-y") or ($v=="y"){
              @if ($v=="n"){$v:no-repeat;}
              @if ($v=="nr"){$v:no-repeat;}
              @if ($v=="x"){$v:repeat-x;}
              @if ($v=="y"){$v:repeat-y;}
              $nr1:$v;
              $nr1-t:true;
            }
            @if ($v=="left") or ($v=="right") or ($v=="top") or ($v=="bottom") or ($v=="center") or ($v=="c") or ($v=="l") or ($v=="r") or ($v=="t") or ($v=="b"){
              @if ($v=="c"){$v:center;}
              @if ($v=="l"){$v:left;}
              @if ($v=="r"){$v:right;}
              @if ($v=="t"){$v:top;}
              @if ($v=="b"){$v:bottom;}
              $x:$x+' '+$v;
              $x-t:true;
              $i:$i+1;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $c-t:true;
          }
          @if (type_of($v)=="number"){
            @if (unit($v)=='') and ($v!=0){
              $i:$i+1;
              $x-t:true;
              $x:$x+' '+$v+px;
            }@else{
              $i:$i+1;
              $x-t:true;
              $x:$x+' '+$v;
            }
          }
          @if (type_of($v)!="color") and (type_of($v)!="number") and (($v!="no-repeat") and ($v!="nr") and ($v!="repeat-x") and ($v!="repeat-y") and ($v!="center") and ($v!="top") and ($v!="left") and ($v!="right") and ($v!="bottom")){
            $img:'url("'+$v+'")';
            $i-t:true;
          }
        }
        content: $c-t $i-t $x-t $nr1-t $i;
        @if ($c-t==""){
          @if ($i==1){
            $b:$img+' '+$x+' '+0+' '+$nr1;
          }@else{
            $b:$img+' '+$x+' '+$nr1;
          }
        }
        @if ($i-t==""){
          @if ($i==1){
            $b:$c+' '+'url("'+$bgi+'")'+$x+' '+0+' '+$nr1;
          }@else{
            $b:$c+' '+'url("'+$bgi+'")'+$x+' '+$nr1;
          }
        }
        @if ($x-t==""){
          $b:0 0;
        }
        @if ($nr1-t==""){
          @if ($i==1){
            $b:$c+' '+$img+$x+' '+0+' '+$nr;
          }@else{
            $b:$c+' '+$img+$x+' '+$nr;
          }
        }
        @if ($nr1-t=="") and ($x-t==""){
          $b:0 0 no-repeat;
        }
        @if ($nr1-t=="") and ($c-t==""){
          @if ($i==1){
            $b:$img+$x+' '+0+' '+$nr;
          }@else{
            $b:$img+$x+' '+$nr;
          }
        }
        @if ($nr1-t=="") and ($i-t==""){
          @if ($i==1){
            $b:$c+' '+'url("'+$bgi+'")'+$x+' '+0+' '+$nr;
          }@else{
            $b:$c+' '+'url("'+$bgi+'")'+$x+' '+$nr;
          }
        }
        @if ($c-t=="") and ($i-t==""){
          @if ($i==1){
            $b:'url("'+$bgi+'")'+$x+' '+0+' '+$nr1;
          }@else{
            $b:'url("'+$bgi+'")'+$x+' '+$nr1;
          }
        }
        @if ($c-t=="") and ($x-t==""){
          $b:$img+' '+'0 0'+' '+$nr1;
        }
        @if ($i-t=="") and ($x-t==""){
          $b:$c+' '+'url("'+$bgi+'")'+' '+'0 0'+' '+$nr1;
        }
        @if ($nr1-t=="") and ($x-t=="") and ($c-t==""){
          $b:$img+' '+'0 0'+' '+$nr;
        }
        @if ($nr1-t=="") and ($x-t=="") and ($i-t==""){
          $b:$c+' '+'url("'+$bgi+'") 0 0 '+ $nr;
        }
        @if ($nr1-t=="") and ($c-t=="") and ($i-t==""){
          @if ($i==1){
            $b:'url("'+$bgi+'")'+$x+' '+0+' '+$nr;
          }@else{
            $b:'url("'+$bgi+'")'+$x+' '+$nr;
          }
        }
        @if ($x-t=="") and ($c-t=="") and ($i-t==""){
          //无意义
          $b:'url("'+$bgi+'") 0 0 '+$nr1;
        }
        @if ($nr1-t=="") and ($x-t=="") and ($c-t=="") and ($i-t==""){
          $b:'url("'+$bgi+'")'+' 0 0 '+$nr;
        }
        $b:unquote($b);
        background: $b;
      }
      @if (nth($attr,1)) == "bgc" {
        background-color:nth($attr,2);
      }
      @if (nth($attr,1)) == "bgs" {
        background-size:100%;
        -webkit-background-size:100%;
      }
      @if (nth($attr,1)) == "bgi" {
        background-image:url($bgi);
      }
      @if (nth($attr,1)) == "bgp" {
        background-position: 0 0;
      }
      @if (nth($attr,1)) == "bgr" {
        background-repeat:$nr;
      }
    }
    @if (length($attr)) == 3 {
      @if (nth($attr,1)) == "pm" {
        $p1:'';$p2:nth($attr, 2);$m1:'';$m2:nth($attr, 3);
        @each $mv in $p2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        @each $mv in $m2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $m1: $m1+" "+$mv+px;
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else{
              $m1: $m1+" "+$mv;
            }
          }@else {
            $m1: $m1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        $m1: unquote($m1);
        padding: $p1;
        margin: $m1;
      }
      @if (nth($attr,1)) == "pm-" {
        $p1:'';$p2:nth($attr, 2);$m1:'';$m2:nth($attr, 3);
        @each $mv in $p2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        @each $mv in $m2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $m1: $m1+" "+$mv+px;
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else{
              $m1: $m1+" "+$mv;
            }
          }@else {
            $m1: $m1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        $m1: unquote($m1);
        padding: $p1;
        margin: $m1;
      }
      @if (nth($attr,1)) == "mp" {
        $p1:'';$p2:nth($attr, 2);$m1:'';$m2:nth($attr, 3);
        @each $mv in $p2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        @each $mv in $m2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $m1: $m1+" "+$mv+px;
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else{
              $m1: $m1+" "+$mv;
            }
          }@else {
            $m1: $m1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        $m1: unquote($m1);
        margin: $p1;
        padding: $m1;
      }
      @if (nth($attr,1)) == "mp-" {
        $p1:'';$p2:nth($attr, 2);$m1:'';$m2:nth($attr, 3);
        @each $mv in $p2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        @each $mv in $m2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $m1: $m1+" "+$mv+px;
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else{
              $m1: $m1+" "+$mv;
            }
          }@else {
            $m1: $m1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        $m1: unquote($m1);
        margin: $p1;
        padding: $m1;
      }
      @if (nth($attr,1)) == "who" {
        $p1:'';$p2:nth($attr, 2);$m1:'';$m2:nth($attr, 3);$o1:'';$o2:hidden;
        @each $mv in $p2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        @each $mv in $m2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $m1: $m1+" "+$mv+px;
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else{
              $m1: $m1+" "+$mv;
            }
          }@else {
            $m1: $m1+" "+$mv;
          }
        }
        @each $mv in $o2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $o1: $o1+" "+$mv+px;
              }@else{
                $o1: $o1+" "+$mv;
              }
            }@else{
              $o1: $o1+" "+$mv;
            }
          }@else {
            $o1: $o1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        $m1: unquote($m1);
        $o1: unquote($o1);
        width: $p1;
        height: $m1;
        overflow: $o1;
      }
      @if (nth($attr,1)) == "wh" {
        $p1:'';$p2:nth($attr, 2);$m1:'';$m2:nth($attr, 3);
        @each $mv in $p2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        @each $mv in $m2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $m1: $m1+" "+$mv+px;
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else{
              $m1: $m1+" "+$mv;
            }
          }@else {
            $m1: $m1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        $m1: unquote($m1);
        width: $p1;
        height: $m1;
      }
      @if (nth($attr,1)) == "wh-" {
        $p1:'';$p2:nth($attr, 2);$m1:'';$m2:nth($attr, 3);
        @each $mv in $p2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        @each $mv in $m2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $m1: $m1+" "+$mv+px;
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else{
              $m1: $m1+" "+$mv;
            }
          }@else {
            $m1: $m1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        $m1: unquote($m1);
        width: $p1;
        height: $m1;
      }
      @if (nth($attr,1)) == "wo" {
        $p1:'';$p2:nth($attr, 2);$m1:'';$m2:nth($attr, 3);
        @each $mv in $p2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        @each $mv in $m2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $m1: $m1+" "+$mv+px;
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else{
              $m1: $m1+" "+$mv;
            }
          }@else {
            $m1: $m1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        $m1: unquote($m1);
        width: $p1;
        overflow: $m1;
      }
      @if (nth($attr,1)) == "ho" {
        $p1:'';$p2:nth($attr, 2);$m1:'';$m2:nth($attr, 3);
        @each $mv in $p2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        @each $mv in $m2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $m1: $m1+" "+$mv+px;
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else{
              $m1: $m1+" "+$mv;
            }
          }@else {
            $m1: $m1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        $m1: unquote($m1);
        height: $p1;
        overflow: $m1;
      }
      @if (nth($attr,1)) == "p" {
        $p1:"";
        @each $mv in nth(($attr),2),nth(($attr),3) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        padding: $p1;
      }
      @if (nth($attr,1)) == "m" {
        $p1:"";
        @each $mv in nth(($attr),2),nth(($attr),3) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        margin: $p1;
      }
      @if (nth($attr,1)) == "bdt" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2),nth($attr, 3);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border-top:$b;
      }
      @if (nth($attr,1)) == "bdb" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2),nth($attr, 3);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        //content: $wx $cx $dx;
        border-bottom:$b;
      }
      @if (nth($attr,1)) == "bdl" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2),nth($attr, 3);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border-left:$b;
      }
      @if (nth($attr,1)) == "bdr" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2),nth($attr, 3);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border-right:$b;
      }
      @if (nth($attr,1)) == "bd" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2),nth($attr, 3);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border:$b;
      }
      @if (nth($attr,1)) == "b" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2),nth($attr, 3);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border:$b;
      }
      @if (nth($attr,1)) == "brs" {
        $p1:"";
        @each $mv in (nth($attr, 2),nth($attr, 3)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        -webkit-border-radius:$p1;
        border-radius: $p1;
      }
      @if (nth($attr,1)) == "bg" {
        $b:'';$c:'';$img:'';$x:'';$nr1:'';$c-t:'';$i-t:'';$x-t:'';$nr1-t:'';$i:0; $s:nth($attr, 2),nth($attr, 3);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="nr") or ($v=="no-repeat") or ($v=="repeat-x") or ($v=="x") or ($v=="repeat-y") or ($v=="y"){
              $nr1:$v;
              $nr1-t:true;
            }
            @if ($v=="left") or ($v=="right") or ($v=="top") or ($v=="bottom") or ($v=="center"){
              $x:$x+' '+$v;
              $x-t:true;
              $i:$i+1;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $c-t:true;
          }
          @if (type_of($v)=="number"){
            @if (unit($v)=='') and ($v!=0){
              $i:$i+1;
              $x-t:true;
              $x:$x+' '+$v+px;
            }@else{
              $i:$i+1;
              $x-t:true;
              $x:$x+' '+$v;
            }
          }
          @if (type_of($v)!="color") and (type_of($v)!="number") and (($v!="no-repeat") and ($v!="nr") and ($v!="repeat-x") and ($v!="repeat-y") and ($v!="center") and ($v!="top") and ($v!="left") and ($v!="right") and ($v!="bottom")){
            $img:'url("'+$v+'")';
            $i-t:true;
          }
        }
        //content: $c-t $i-t $x-t $nr1-t $i;
        @if ($c-t==""){
          @if ($i==1){
            $b:$img+' '+$x+' '+0+' '+$nr1;
          }@else{
            $b:$img+' '+$x+' '+$nr1;
          }
        }
        @if ($i-t==""){
          @if ($i==1){
            $b:$c+' '+'url("'+$bgi+'")'+$x+' '+0+' '+$nr1;
          }@else{
            $b:$c+' '+'url("'+$bgi+'")'+$x+' '+$nr1;
          }
        }
        @if ($x-t==""){
          $b:0 0;
        }
        @if ($nr1-t==""){
          @if ($i==1){
            $b:$c+' '+$img+$x+' '+0+' '+$nr;
          }@else{
            $b:$c+' '+$img+$x+' '+$nr;
          }
        }
        @if ($nr1-t=="") and ($x-t==""){
          $b:0 0 no-repeat;
        }
        @if ($nr1-t=="") and ($c-t==""){
          @if ($i==1){
            $b:$img+$x+' '+0+' '+$nr;
          }@else{
            $b:$img+$x+' '+$nr;
          }
        }
        @if ($nr1-t=="") and ($i-t==""){
          @if ($i==1){
            $b:$c+' '+'url("'+$bgi+'")'+$x+' '+0+' '+$nr;
          }@else{
            $b:$c+' '+'url("'+$bgi+'")'+$x+' '+$nr;
          }
        }
        @if ($c-t=="") and ($i-t==""){
          @if ($i==1){
            $b:'url("'+$bgi+'")'+$x+' '+0+' '+$nr1;
          }@else{
            $b:'url("'+$bgi+'")'+$x+' '+$nr1;
          }
        }
        @if ($c-t=="") and ($x-t==""){
          $b:$img+' '+'0 0'+' '+$nr1;
        }
        @if ($i-t=="") and ($x-t==""){
          $b:$c+' '+'url("'+$bgi+'")'+' '+'0 0'+' '+$nr1;
        }
        @if ($nr1-t=="") and ($x-t=="") and ($c-t==""){
          $b:$img+' '+'0 0'+' '+$nr;
        }
        @if ($nr1-t=="") and ($x-t=="") and ($i-t==""){
          $b:$c+' '+'url("'+$bgi+'") 0 0 '+ $nr;
        }
        @if ($nr1-t=="") and ($c-t=="") and ($i-t==""){
          @if ($i==1){
            $b:'url("'+$bgi+'")'+$x+' '+0+' '+$nr;
          }@else{
            $b:'url("'+$bgi+'")'+$x+' '+$nr;
          }
        }
        @if ($x-t=="") and ($c-t=="") and ($i-t==""){
          //无意义
          $b:'url("'+$bgi+'") 0 0 '+$nr1;
        }
        @if ($nr1-t=="") and ($x-t=="") and ($c-t=="") and ($i-t==""){
          $b:'url("'+$bgi+'")'+' 0 0 '+$nr;
        }
        $b:unquote($b);
        background: $b;
      }

    }
    @if (length($attr)) == 4 {
      @if (nth($attr,1)) == "who" {
        $p1:'';$p2:nth($attr, 2);$m1:'';$m2:nth($attr, 3);$o1:'';$o2:nth($attr, 4);
        @each $mv in $p2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        @each $mv in $m2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $m1: $m1+" "+$mv+px;
              }@else{
                $m1: $m1+" "+$mv;
              }
            }@else{
              $m1: $m1+" "+$mv;
            }
          }@else {
            $m1: $m1+" "+$mv;
          }
        }
        @each $mv in $o2 {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $o1: $o1+" "+$mv+px;
              }@else{
                $o1: $o1+" "+$mv;
              }
            }@else{
              $o1: $o1+" "+$mv;
            }
          }@else {
            $o1: $o1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        $m1: unquote($m1);
        $o1: unquote($o1);
        width: $p1;
        height: $m1;
        overflow: $o1;
      }
      @if (nth($attr,1)) == "p" {
        $p1:"";
        @each $mv in nth(($attr),2),nth(($attr),3),nth(($attr),4) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        padding: $p1;
      }
      @if (nth($attr,1)) == "m" {
        $p1:"";
        @each $mv in nth(($attr),2),nth(($attr),3),nth(($attr),4) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        margin: $p1;
      }
      @if (nth($attr,1)) == "bdt" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2),nth($attr, 3),nth($attr, 4);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border-top:$b;
      }
      @if (nth($attr,1)) == "bdb" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2),nth($attr, 3),nth($attr, 4);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border-bottom:$b;
      }
      @if (nth($attr,1)) == "bdl" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2),nth($attr, 3),nth($attr, 4);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border-left:$b;
      }
      @if (nth($attr,1)) == "bdr" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2),nth($attr, 3),nth($attr, 4);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border-right:$b;
      }
      @if (nth($attr,1)) == "bd" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2),nth($attr, 3),nth($attr, 4);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border:$b;
      }
      @if (nth($attr,1)) == "b" {
        $b:'';$c:'';$w:'';$d:'';$cx:'';$wx:'';$dx:''; $s:nth($attr, 2),nth($attr, 3),nth($attr, 4);
        @each $v in $s{
          @if (type_of($v)=="string"){
            @if ($v=="s") or ($v=="solid"){
              $d:solid;
              $dx:true;
            }
            @if ($v=="d") or ($v=="dotted"){
              $d:dotted;
              $dx:true;
            }
            @if ($v=="none"){
              $d:none;
              $dx:false;
            }
          }
          @if (type_of($v)=="color"){
            $c:$v;
            $cx:true;
          }
          @if (type_of($v)=="number"){
            @if (type_of($v)=="number") and ($v!=0){
              @if (unit($v)==''){
                $w:$v+px;
                $wx:true;
              }@else{
                $w:$v;
                $wx:true;
              }
            }@else{
              $w:$v;
              $wx:true;
            }
          }
        }
        @if ($d == "none"){
          $b:none;
        }@else{
          @if ($wx==""){$b:1px}
          @if ($cx==""){$b:$bdc;}
          @if ($dx==""){$b:solid;}
          @if ($dx=="") and ($wx==""){$b:1px solid;}
          @if ($dx=="") and ($cx==""){$b:$bdc solid;}
          @if ($wx=="") and ($cx==""){$b:1px $bdc;}
          @if ($wx=="") and ($cx=="") and ($dx==""){$b:1px $bdc solid;}
          $b:unquote($b+" "+$w+" "+$c+" "+$d);
        }
        border:$b;
      }
      @if (nth($attr,1)) == "brs" {
        $p1:"";
        @each $mv in (nth($attr, 2),nth($attr, 3),nth($attr, 4)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        -webkit-border-radius:$p1;
        border-radius: $p1;
      }
    }
    @if (length($attr)) == 5 {
      @if (nth($attr,1)) == "p" {
        $p1:"";
        @each $mv in nth(($attr),2),nth(($attr),3),nth(($attr),4),nth(($attr),5) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        padding: $p1;
      }
      @if (nth($attr,1)) == "m" {
        $p1:"";
        @each $mv in nth(($attr),2),nth(($attr),3),nth(($attr),4),nth(($attr),5) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        margin: $p1;
      }
      @if (nth($attr,1)) == "brs" {
        $p1:"";
        @each $mv in (nth($attr, 2),nth($attr, 3),nth($attr, 4),nth($attr, 5)) {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $p1: $p1+" "+$mv+px;
              }@else{
                $p1: $p1+" "+$mv;
              }
            }@else{
              $p1: $p1+" "+$mv;
            }
          }@else {
            $p1: $p1+" "+$mv;
          }
        }
        $p1: unquote($p1);
        -webkit-border-radius:$p1;
        border-radius: $p1;
      }
    }
  }
}


//字体样式，包括：字体，字大小，行高，颜色
@mixin z($val){
  @each $attr in $val{
    $shu:'';$zhi:'';$shu1:'';
    //显示属性，包括浮动f（float）、fl(float:left)、fr(float:right)、显示d(display)、dn(display:none)、db(display:block)。
    @if (nth($attr,1)=='db'){$shu1:$shu+display;$zhi:block;}
    @if (nth($attr,1)=='show'){$shu1:$shu+display;$zhi:block;}
    @if (nth($attr,1)=='dn'){$shu1:$shu+display;$zhi:none;}
    @if (nth($attr,1)=='hide'){$shu1:$shu+display;$zhi:none;}
    @if (nth($attr,1)=='poa'){$shu1:$shu+position;$zhi:absolute;}
    @if (nth($attr,1)=='por'){$shu1:$shu+position;$zhi:relative;}
    @if (nth($attr,1)=='pof'){$shu1:$shu+position;$zhi:fixed;}
    @if (nth($attr,1)=='fl'){$shu1:$shu+float;$zhi:left;}
    @if (nth($attr,1)=='fr'){$shu1:$shu+float;$zhi:right;}
    @if (nth($attr,1)=='cb'){$shu1:$shu+clear;$zhi:both;}
    @if (nth($attr,1)=='l'){$shu1:$shu+left;$zhi:0;}
    @if (nth($attr,1)=='r'){$shu1:$shu+right;$zhi:0;}
    @if (nth($attr,1)=='t'){$shu1:$shu+top;$zhi:0;}
    @if (nth($attr,1)=='b'){$shu1:$shu+bottom;$zhi:0;}
    @if (nth($attr,1)=='c'){$shu1:$shu+clip;$zhi:auto;}
    @if (nth($attr,1)=='z'){$shu1:$shu+z-index;$zhi:1;}
    @if (nth($attr,1)=='jz'){$shu1:$shu+margin-left;$zhi:auto+';'+'margin-right:auto'}
    @if (nth($attr,1)=='jzc'){$shu1:$shu+margin-left;$zhi:auto+';'+'margin-right:auto;text-align:center'}


    //字体样式，包括：字体，字大小，行高，颜色
    @if (nth($attr,1)=='fz'){$shu1:$shu+font-size;$zhi:$fz;}
    @if (nth($attr,1)=='c'){$shu1:$shu+color;$zhi:$z-c;}
    @if (nth($attr,1)=='ti'){$shu1:$shu+text-indent;$zhi:$ti;}
    @if (nth($attr,1)=='ta'){$shu1:$shu+text-align;$zhi:$c;}
    @if (nth($attr,1)=='tl'){$shu1:$shu+text-align;$zhi:left;}
    @if (nth($attr,1)=='tr'){$shu1:$shu+text-align;$zhi:right;}
    @if (nth($attr,1)=='tal'){$shu1:$shu+text-align;$zhi:left;}
    @if (nth($attr,1)=='tar'){$shu1:$shu+text-align;$zhi:right;}
    @if (nth($attr,1)=='fw'){$shu1:$shu+font-weight;$zhi:100;}
    @if (nth($attr,1)=='lh'){$shu1:$shu+line-height;$zhi:$lh;}
    @if (nth($attr,1)=='td'){$shu1:$shu+text-decoration;$zhi:none;}
    @if (nth($attr,1)=='lhh'){$shu1:$shu+line-height;$zhi:$lh+';'+'height:'+$lh*$fz;}
    @if (nth($attr,1)=='zjj'){$shu1:$shu+text-align;$zhi:justify+';'+'letter-spacing:normal';}
    @if (nth($attr,1)=='p'){$shu1:$shu+padding;$zhi:0;}
    @if (length($attr)>=2) and (nth($attr,1)!='lh'){
      $shu:nth($attr,1);$v1:'';
      @if (length(nth($attr,2))>=2){
        $list:nth($attr,2);
        @each $mv in $list {
          @if (type_of($mv)=="number"){
            @if (unit($mv)==''){
              @if (abs($mv)!=0){
                $v1: $v1+' '+$mv+px;
              }@else{
                $v1: $v1+' '+$mv;
              }
            }@else{
              $v1: $v1+' '+$mv;
            }
          }@else {
            $v1: $v1+' '+$mv;
          }
         // content: $v1;
        }
        $zhi:$v1;
      }@else{
        @if (type_of(nth($attr,2))=="number"){
          @if (unit(nth($attr,2))==''){
            @if (abs(nth($attr,2))!=0){
              $v1: $v1+' '+nth($attr,2)+px;
            }@else{
              $v1: $v1+' '+nth($attr,2);
            }
          }@else{
            $v1: $v1+' '+nth($attr,2);
          }
        }@else {
          $v1: $v1+' '+nth($attr,2);
        }
        $zhi:$v1;
        @if (nth($attr,1)=='lhh'){
          $zhi:nth($attr,2);
          height:nth($attr,2)*$fz;
        }
      }
    }
    $zhi:unquote($zhi);
    $shu1:unquote($shu1);
    #{$shu1}:$zhi;
  //  content: ($zhi);
  }

}